<?php

function post($url, $data = null)
{
	$ch = curl_init();
	curl_setopt($ch,CURLOPT_URL,$url);
	curl_setopt($ch, CURLOPT_HEADER, 0);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
	
	if( isset($data) )
	{
		curl_setopt($ch, CURLOPT_POST, 1);
		curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
	}
	
	$data = curl_exec($ch);
	curl_close($ch);
	return $data;
}

//echo $a = htmlspecialchars(post("http://222.201.132.115/(elvwbdj1noedvmbrnjpwpdno)/default2.aspx"),ENT_COMPAT,"UTF-8");
//echo htmlspecialchars_decode($a);

$data = "__VIEWSTATE=dDwtMTg3MTM5OTI5MTs7PupVuOGcRnVdCpa+jhyYhWy3N8GD&TextBox1=201130635395&TextBox2=114912&TextBox3=ntt6&RadioButtonList1=学生";
echo post("http://222.201.132.115/(elvwbdj1noedvmbrnjpwpdno)/default2.aspx", $data);